package com.txy.service.impl;

import com.txy.dao.DepartmentDao;
import com.txy.dao.impl.DepartmentDaoImpl;
import com.txy.entity.Department;
import com.txy.service.DepartmentService;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2022-11-08 17:02
 * Description：<描述>
 */
public class DepartmentServiceImpl implements DepartmentService {

    DepartmentDao departmentDao = new DepartmentDaoImpl();

    @Override
    public List<Department> findAll() {
        return departmentDao.selectAll();
    }
}
